package com.example.makerspace.domain;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "t_ent_err_log", autoResultMap = true)
@Document(indexName = "t_ent_err_log")
public class EntErrLogDO extends  BaseDO{
    @Field(name = "entName", type = FieldType.Text, analyzer="ik_max_word")
    private String entName;
    @Field(name = "license_no", type = FieldType.Text, analyzer="ik_max_word")
    private  String licenseNo;
    @Field(name = "legal_person_name", type = FieldType.Text, analyzer="ik_max_word")
    private  String legalPersonName;
    @Field(name = "legal_person_cert_no", type = FieldType.Text, analyzer="ik_max_word")
    private  String legalPersonCertNo;
    @Field(name = "map_address", type = FieldType.Text, analyzer="ik_max_word")
    private  String mapAddress;
}
